package com.api.shopapi.service.impl;

import com.api.shopapi.entity.ActivityOrderRecordImg;
import com.api.shopapi.mapper.ActivityOrderRecordImgMapper;
import com.api.shopapi.service.ActivityOrderRecordImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("ActivityOrderRecordImgServiceImplOne")
public class ActivityOrderRecordImgServiceImpl implements ActivityOrderRecordImgService {

    @Autowired
    private ActivityOrderRecordImgMapper activityOrderRecordImgMapper;

    @Override
    public
    int insert(ActivityOrderRecordImg activityOrderRecordImg){
        return activityOrderRecordImgMapper.insert(activityOrderRecordImg);
    }

    @Override
    public
    List<ActivityOrderRecordImg> ListByActivityOrderRecordCode(String activityOrderRecordCode){
        return activityOrderRecordImgMapper.ListByActivityOrderRecordCode(activityOrderRecordCode);
    }

}
